package com.jiexinyun.enums.fileManage;

import lombok.Getter;

@Getter
public enum SFTPRootPath {

    REPAIR_LEVEL("repair_level", "维修等级"),
    FAULT_PART("fault_part", "故障部位"),
    DETECT_STYLE("detect_style", "检测方式"),
    FAULTS_TYLE("fault_style", "故障现象");

    @Getter
    private String classCode;

    @Getter
    private String className;

    SFTPRootPath(String classCode, String className) {
        this.classCode = classCode;
        this.className = className;
    }

//    public String getClassName(){
//        FaultsEnum[] values = FaultsEnum.values();
//        for (FaultsEnum faultsEnum : values) {
//            if (faultsEnum.getClassCode().equals(this.classCode)) {
//                return faultsEnum.getClassName();
//            }
//        }
//        return null;
//    }

}
